package com.zuxia.rabbit;

import org.springframework.amqp.rabbit.annotation.*;
import org.springframework.stereotype.Component;

@Component
public class RabbitPriperties {

//    @RabbitListener(bindings = @QueueBinding(
//            value = @Queue("delay.queue"),
//            exchange = @Exchange(value = "delay.direct",delayed = "true"),
//            key = "delay.order"
//    ))
//    public void delay(String msg) {
//        System.out.println(msg);
//    }
}
